package online.longzipeng.householdbillssystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import online.longzipeng.householdbillssystem.business.entity.Group;
import com.baomidou.mybatisplus.extension.service.IService;
import online.longzipeng.householdbillssystem.business.vo.querey.QueryVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzp
 * @since 2021-04-17
 */
public interface GroupService extends IService<Group> {

    boolean add(Group group);

    boolean delete(Integer id);

    boolean edit(Group group);

    Group findById(Integer id);

    List<Group> findByUserId(Integer id);

    IPage<Group> getListPage(QueryVO queryVO);
}
